Call with the command returned by android_app_read_cmd() to do the final post-processing of the given command. You must have done your own actions for the command before calling this function.
Call with the command returned by android_app_read_cmd() to do the initial pre-processing of the given command. You can perform your own actions for the command after calling this function.
Call when ALooper_pollAll() returns LOOPER_ID_MAIN, reading the next app command message.
This is the function that application code must implement, representing the main entry to the app.
Dummy function you can call to ensure glue code isn't stripped.
This is the interface for the standard glue code of a threaded application. In this model, the application's code is running in its own thread separate from the main thread of the process. It is not required that this thread be associated with the Java VM, although it will need to be in order to make JNI calls any Java objects.
Data associated with an ALooper fd that will be returned as the "outData" when that source has data ready.